<?php echo $this->doctype; ?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo $this->language; ?>">
<head>
<base href="<?php echo $this->base; ?>"></base>
<title><?php echo $this->mainTitle; ?> /// <?php echo $this->pageTitle; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->charset; ?>" />
<meta name="description" content="<?php echo $this->description; ?>" />
<meta name="keywords" content="<?php echo $this->keywords; ?>" />
<?php echo $this->robots; ?>
<link rel="Shortcut Icon" href="images/favicon.gif" type="image/x-icon" />
<link rel="Bookmark" href="images/favicon.gif" type="image/x-icon" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<?php echo $this->stylesheets; ?>
<script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.6.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<?php echo $this->head; ?>
</head>

<body id="home" <?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
<?php echo $this->sections['currency']; ?>
<div class="container">

<div id="header">
<?php echo $this->header; ?>
</div>

<div class="wrap">

<div class="left">
<?php echo $this->left; ?>
</div>

<div class="main_coloum" id="base">
<?php echo $this->main; ?>
<?php if ($this->right): ?>
	<div class="right">
		<?php echo $this->right; ?>
	</div>
<?php endif; ?>
</div>

</div>

<div id="footer">
<?php echo $this->footer; ?> 
</div>

<div id="feedback_icon" style="top:180px;"><a class="iframe" href="Feedback.html" title="FEEDBACK"><img src="images/feedback_icon.gif" alt="" /><img src="images/feedback.gif" alt="FEEDBACK" /></a></div>

</div>

<script type="text/javascript">
<!-- 
lastScrollY = 0;
function feedback_icon(){ 
	var diffY;
	if (document.documentElement && document.documentElement.scrollTop)
	 diffY = document.documentElement.scrollTop;
	else if (document.body)
	 diffY = document.body.scrollTop
	else
		{ }
 
	percent=.1*(diffY-lastScrollY); 
	if(percent>0)percent=Math.ceil(percent); 
	else percent=Math.floor(percent); 
	document.getElementById("feedback_icon").style.top = parseInt(document.getElementById("feedback_icon").style.top)+percent+"px";
	lastScrollY=lastScrollY+percent; 
}
window.setInterval("feedback_icon()",1);
//-->
</script>

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://<?php echo substr($this->base, strpos("http://",$this->base)+7); ?>piwik/" : "http://<?php echo substr($this->base, strpos("http://",$this->base)+7); ?>piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://<?php echo substr($this->base, strpos("http://",$this->base)+7); ?>piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->

</body>
</html>


